<form action="" method="POST" name="login" onsubmit="return validateForm(this)" >

Benutzer:
<input type="text" name="name"><br>

Passwort:
<input type="password" name="pass"><br>
<input type="submit" value="Anmelden">
</form>